package com.itheima.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.PropertySource;

/**
 * @Configuration  代表当前是配置入口类
 * @ComponentScan("com.itheima") 扫描指定包下注解
 * 这是一个配置类 用来取代xml的
 */
@Configuration
@ComponentScan("com.itheima")
@Import(JdbcConfig.class)
public class SpringConfig {
}
